<template>
  <div id="input">
    <router-link to="/search">
      <van-search 
      placeholder="搜索饿了么商家、商品名称" 
      input-align="center" 
      background="linear-gradient(90deg,#0af,#0085ff)"
      />
    </router-link>
  </div>
</template>

<script>
export default {};
</script>

<style>
#input {
  height: 51px;
  line-height: 51px;
  background-image: linear-gradient(90deg, #0af, #0085ff);
}
</style>